package cc.lzmsh.service;

import cc.lzmsh.pojo.Category;
import cc.lzmsh.pojo.result.Result;

/**
 * Author:   msh
 * Date:     2024/9/26 上午9:33
 * Description:
 */
public interface CategoryService {
    Result addCategory(Category category);

    Result list(Integer userId);

    Result getCategoryById(Integer id);

    Result updateCategory(Category category);

    Result deleteCategory(Integer id);
}
